package com.qding.park.manager.pojo.queue;

import java.util.Date;

/**
 * @author Administrator
 *失败任务日志
 */
public class QueueTaskDiscardlLog {
	
	/**
	 * 回滚失败
	 */
	public static final int ROLL_BACK_FAIL=0;
	
	/**
	 * 回滚成功
	 */
	public static final int ROLL_BACK_SUCCESS=1;
	
	/**
	 * 任务的消息体
	 */
	private QueueMsg  queueMsg;
	
	/**
	 * 任务回滚结果
	 */
	private int rollBacKResult;
	
	/**
	 * 创建时间
	 */
	private Date  create_date;

	public QueueMsg getQueueMsg() {
		return queueMsg;
	}

	public void setQueueMsg(QueueMsg queueMsg) {
		this.queueMsg = queueMsg;
	}

	public int getRollBacKResult() {
		return rollBacKResult;
	}

	public void setRollBacKResult(int rollBacKResult) {
		this.rollBacKResult = rollBacKResult;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

}
